import { Button, Result } from "antd";
import { useNavigate } from "react-router-dom";
import "./index.less";
import {HOME_URL} from '@/core/configs/app.config';

const NotFound = () => {
    const navigate = useNavigate();
    const goHome = () => {
        navigate(HOME_URL);
    };
    return (
        <Result
            status="404"
            title="404"
            subTitle="Sorry, the page you visited does not exist."
        />
    );
};

export default NotFound;
